Updated Getting started md files for WPF controls - #2440
Conversation
|
Build Status: INPROGRESS 🔃 |
|
CI Status: FAILURE ❌ |
|
Build Status: INPROGRESS 🔃 |
|
CI Status: SUCCESS ✅ |
|
Build Status: INPROGRESS 🔃 |
|
CI Status: SUCCESS ✅ |
|
Build Status: INPROGRESS 🔃 |
|
CI Status: SUCCESS ✅ |
| * NextPageButton: Moves the current page index to the next page and displays the next page data. | ||
| * NumericButtons: Denotes the available pages. You can directly navigate to the page by clicking the corresponding button. | ||
| * EllipsisButton: Displayed when AutoEllipsis mode is set. This button displays the next set of numeric page buttons are displayed. | ||
| * EllipsisButton: Displayed when `AutoEllipsis` mode is set. This button displays the next set of numeric page buttons. |
There was a problem hiding this comment.
Add API link for AutoEllipsis API
|
|
||
| 1. Create a new WPF application | ||
| 2. Open a VisualStudio toolbox. Navigate to SyncfusionControls and drag the SfDataPager to the design window. | ||
| ### Option A: Add Control via Designer |
There was a problem hiding this comment.
Instead of options, we can maintain as ### Adding control via Designer/ Manually
| 2. Add the following required assemblies to the project: | ||
| - Syncfusion.SfGrid.WPF | ||
| - Syncfusion.Data.WPF (if using SfDataPager with SfDataGrid) | ||
|
|
There was a problem hiding this comment.
Shared. WPF missed in required assemblies.
|
|
||
|
|
||
| 2. You can populate data by handling the QueryCellInfo event of gridControl. This will load the data in and on-demand basis, ensuring optimized performance. | ||
| 2. You can populate data by handling the `QueryCellInfo` event of gridControl. This will load the data on an on-demand basis, ensuring optimized performance. |
There was a problem hiding this comment.
Add the API link of QueryCellInfo.
|
|
||
| 1. Add the below required assembly references to the project, | ||
| * Syncfusion.Data.WPF | ||
| * Syncfusion.SfGrid.WPF |
There was a problem hiding this comment.
Syncfusion.Shared.WPF missing
|
|
||
| 1. Add the below required assembly references to the project, | ||
| * Syncfusion.Data.WPF | ||
| * Syncfusion.SfGrid.WPF |
There was a problem hiding this comment.
Syncfusion.Shared.WPF missing
| ## Defining DisplayMember and ValueMember | ||
|
|
||
| [DisplayMember](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Grid.SfMultiColumnDropDownControl.html#Syncfusion_UI_Xaml_Grid_SfMultiColumnDropDownControl_DisplayMember) denotes the path to a value on the data object for visual presentation of the selected object in editor and [ValueMember](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Grid.SfMultiColumnDropDownControl.html#Syncfusion_UI_Xaml_Grid_SfMultiColumnDropDownControl_ValueMember) denotes the path to a value on the data object for [SelectedValue](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Grid.SfMultiColumnDropDownControl.html#Syncfusion_UI_Xaml_Grid_SfMultiColumnDropDownControl_SelectedValue). | ||
| - **[DisplayMember](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Grid.SfMultiColumnDropDownControl.html#Syncfusion_UI_Xaml_Grid_SfMultiColumnDropDownControl_DisplayMember)**: Specifies the property name to display in the text editor when an item is selected. This is what the user sees in the closed dropdown. |
There was a problem hiding this comment.
This is value displayed to the user when the dropdown is in its collapsed state.
Use the above sentence instead of this "This is what the user sees in the closed dropdown."
| - **[ValueMember](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Grid.SfMultiColumnDropDownControl.html#Syncfusion_UI_Xaml_Grid_SfMultiColumnDropDownControl_ValueMember)**: Specifies the property name to use as the [SelectedValue](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Grid.SfMultiColumnDropDownControl.html#Syncfusion_UI_Xaml_Grid_SfMultiColumnDropDownControl_SelectedValue). This is typically used in data binding scenarios to capture the actual selected value. | ||
|
|
||
| Refer [here](http://help.syncfusion.com/wpf/sfmulticolumndropdown/data-binding) to know more about the `DisplayMember` and `ValueMember`. | ||
| **Example:** If `DisplayMember="OrderID"` and `ValueMember="OrderID"`, selecting an order shows its OrderID in the editor and returns that OrderID as the SelectedValue. |
There was a problem hiding this comment.
For Example, we use the different properties for Display and value member.
| Above mentioned GetSalesData method is used to get the collection that needs to be populated in the pivot grid control. Now, bind the collection to the pivot grid control as its ItemSource. It can be done through XAML or code-behind. | ||
| Above mentioned `GetSalesData` method is used to get the collection that needs to be populated in the pivot grid control. Now, bind the collection to the pivot grid control as its `ItemSource`. It can be done through XAML or code-behind. | ||
|
|
||
| N> The `VisualStyle` property sets the built-in theme. `Metro` is used here for illustration; the control also supports other built-in themes. Refer to the [Theme](#theme) section below for details. |
There was a problem hiding this comment.
Where we refered this note?
| ## Creating simple application with SfSmartDataGrid | ||
| In this walk-through you will create a WPF application that uses the Syncfusion® WPF DataGrid (`SfSmartDataGrid`) control. The steps below correspond to the seven key topics needed to add and bind a SfSmartDataGrid in a WPF project. | ||
|
|
||
| In this walkthrough, you will create a WPF application that uses the Syncfusion® WPF DataGrid (`SfSmartDataGrid`) control. The steps below correspond to the key topics needed to add and bind a SfSmartDataGrid in a WPF project. |
There was a problem hiding this comment.
In this walkthrough, you will create a WPF application that uses the Syncfusion® WPF DataGrid (SfSmartDataGrid) control.
| In this walkthrough, you will create a WPF application that uses the Syncfusion® WPF DataGrid (`SfSmartDataGrid`) control. The steps below correspond to the key topics needed to add and bind a SfSmartDataGrid in a WPF project. | |
| In this walkthrough, you will create a WPF application that uses the Syncfusion® WPF DataGrid control. The steps below correspond to the key topics needed to add and bind a SfSmartDataGrid in a WPF project. |
Updated Getting started md files for the below WPF controls
SmartDataGrid
SfDataPager
GridControl
PivotGridControl
SfMultiColumnDropDown